package com.ruicar.afs.cloud.manage.outer.api.change.relation.feign;

import com.ruicar.afs.cloud.common.core.util.IResponse;
import com.ruicar.afs.cloud.manage.outer.api.change.relation.dto.RelationChangeDTO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.Map;

/**
 * @author: Lee
 * @date: 2020/5/11 19:39
 * @description: cms数据同步接口
 */
@FeignClient(name = "syncCmsFeign", url = "${com.greatwall.services.manage.url}")
public interface SyncCmsFeign {

    /**
     * 向cms接口同步最终联系方式变更数据
     */
    @ApiOperation("向cms接口同步最终联系方式变更数据")
    @PostMapping(value = "contactChange/getManageContactChangeList")
    IResponse getManageContactChangeList(@RequestBody RelationChangeDTO dto);


}
